import Vue from 'vue';
import 'amfe-flexible';
import './utils/request';

import Vant from 'vant';
import 'vant/lib/index.css';

import 'normalize.css/normalize.css'; // A modern alternative to CSS resets
import './styles/index.scss'; // global css

import App from './App';
import store from './store';
import router from './router';
import './permission'; // permission control

Vue.use(Vant);

Vue.config.productionTip = false;

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App),
});
